Piwik\DataTable D

Total Complexity 248
Dependencies 12
Dependents 158
Total lines 1,698
Lines of code 821
Logical lines of code 487
Comment lines 758
Methods 84
Properties 19

Methods 84

Method Rating Maintainability Complexity Lines of code
getSerialized()
A
39 14 67
addRowsFromSimpleArray()
A
46 13 39
mergeSubtables()
A
47 9 35
walkPath()
A
47 9 35
getRowFromLabel()
A
57 9 16
deleteColumns()
A
55 8 21
addRowsFromSerializedArray()
S
51 7 26
addRow()
S
54 7 19
deleteRowsOffset()
S
57 6 18
aggregateRow()
S
54 5 21
makeFromIndexedArray()
S
55 5 19
addDataTable()
S
56 5 18
filter()
S
56 5 18
getColumns()
S
58 5 16
isEqual()
S
58 5 15
__destruct()
S
58 5 15
renameColumn()
S
59 5 15
deleteRowsMetadata()
S
59 5 15
getRowIdFromLabel()
S
61 5 13
sumRowWithLabel()
S
55 4 20
sort()
S
61 4 13
addRowsFromArray()
S
61 4 13
getColumnsStartingWith()
S
61 4 12
aggregateRowWithLabel()
S
60 4 12
getRowFromId()
S
65 4 9
getRowsCountRecursive()
S
62 3 12
aggregateRowFromSimpleTable()
S
63 3 11
deleteMetadata()
S
64 3 11
rebuildIndex()
S
62 3 11
getRowFromIdSubDataTable()
S
66 3 9
queueFilterSubtables()
S
65 3 9
filterSubtables()
S
65 3 9
getLastRow()
S
66 3 9
getFirstRow()
S
66 3 9
deleteRow()
S
63 3 10
setMaximumDepthLevelAllowedAtLeast()
S
70 2 6
setMetadataValues()
S
73 2 5
deleteRows()
S
74 2 5
getMetadata()
S
71 2 6
unserializeRows()
S
65 2 8
getRowsCount()
S
69 2 7
getRowsMetadata()
S
69 2 7
applyQueuedFilters()
S
70 2 6
getColumn()
S
69 2 7
queueFilter()
S
70 2 6
setRows()
S
72 2 5
getEmptyClone()
S
67 2 8
getRows()
S
69 2 7
offsetSet()
S
80 1 3
offsetUnset()
S
81 1 3
setMaximumAllowedRows()
S
81 1 3
getTotalsRow()
S
82 1 3
setTotalsRow()
S
81 1 3
makeFromSimpleArray()
S
72 1 5
fromSerializedArray()
S
72 1 5
offsetExists()
S
75 1 4
getIterator()
S
80 1 3
offsetGet()
S
80 1 3
setLabelsHaveChanged()
S
81 1 3
getSummaryRow()
S
82 1 3
__clone()
S
80 1 3
clearQueuedFilters()
S
81 1 3
getQueuedFilters()
S
82 1 3
setAllTableMetadata()
S
81 1 3
enableRecursiveSort()
S
81 1 3
getAllTableMetadata()
S
82 1 3
addSummaryRow()
S
74 1 5
getRowsCountWithoutSummaryRow()
S
80 1 3
getRowsWithoutSummaryRow()
S
82 1 3
deleteColumn()
S
81 1 3
__sleep()
S
79 1 3
addRowFromSimpleArray()
S
81 1 3
addRowFromArray()
S
81 1 3
getId()
S
82 1 3
__toString()
S
73 1 5
getSortedByColumnName()
S
82 1 3
disableFilter()
S
80 1 3
multiFilter()
S
78 1 3
disableRecursiveFilters()
S
81 1 3
enableRecursiveFilters()
S
81 1 3
setTableSortedBy()
S
77 1 4
isSortRecursiveEnabled()
S
80 1 3
setMetadata()
S
80 1 3
__construct()
S
80 1 3